package com.chengdu.his.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PatientsDetail implements Serializable {
    private long id;
    private String visit;
    private String department;
    private String doctor;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate indate;
    private String inno;
    private int bedno;
    private String disease;
    private String otherdisease;
    private String witness;
    private String reliable;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime recordtime;
    private String otherdis;
    private int pid;
}
